/**
 * Community System
 * 社区系统 后端路由
 */
var express  =  require('express')
var router   =  express.Router()
// 路由
var api           = require('./routes/api.js')
var cm         = require('./routes/cm.js')
var cs          = require('./routes/cs.js')

router.use('/api',api)
router.use('/',cm)
router.use('/cs', cs)
router.get('/*',function(req,res){
  res.render('notfound')
})
module.exports = router
